'use strict';
module.exports = app => {
 class FeedbackService extends app.Service {
     /* 意见反馈 */
     async feedback (uid,content) {
        var mDate = new Date();
        const date = mDate.toLocaleString( ); 
        const result = await this.app.mysql.insert("feedback",{uid, content,date})
        return {result}
     }
 }
 return FeedbackService;
};